import { Component, OnInit } from '@angular/core'
import { AppRouterService } from '../../../service/app-router.service'

@Component({
    selector: 'not-found-page',
    templateUrl: './404.component.html',
    styleUrls: ['404.component.less']
})
export class NotFoundPageComponent implements OnInit {
    constructor(private appRouter: AppRouterService) { }

    ngOnInit(): void { }

    backHome() {
        this.appRouter.navigate(['login'])
    }
}
